<!DOCTYPE html>
<html lang=zh>
<head>
  <meta charset="utf-8">
  
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-transform" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="format-detection" content="telephone=no,email=no,adress=no">
  <!-- Color theme for statusbar -->
  <meta name="theme-color" content="#000000" />
  <!-- 强制页面在当前窗口以独立页面显示,防止别人在框架里调用页面 -->
  <meta http-equiv="window-target" content="_top" />
  
  
  <title>熬夜之干JS加密 | Lee&#39;Blog</title>
  <meta name="description" content="朋友发了这么一段东西，然后和我说熬夜也要把它解出来  我：？？？？？？？？ 没错经过一番搜索后发现这是一段加密的JS代码。 (!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!">
<meta property="og:type" content="article">
<meta property="og:title" content="熬夜之干JS加密">
<meta property="og:url" content="https://vxer-lee.github.io/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86.html">
<meta property="og:site_name" content="Lee&#39;Blog 专注逆向、网络安全">
<meta property="og:description" content="朋友发了这么一段东西，然后和我说熬夜也要把它解出来  我：？？？？？？？？ 没错经过一番搜索后发现这是一段加密的JS代码。 (!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://vxer-lee.github.io/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86/image-20190803024505492.png">
<meta property="og:image" content="https://vxer-lee.github.io/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86/image-20190803024531220.png">
<meta property="og:image" content="https://vxer-lee.github.io/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86/image-20190803024927010.png">
<meta property="og:image" content="https://vxer-lee.github.io/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86/ssdd.png">
<meta property="article:published_time" content="2020-01-07T03:59:36.000Z">
<meta property="article:modified_time" content="2020-08-01T14:38:30.494Z">
<meta property="article:author" content="Lee">
<meta property="article:tag" content="Web渗透">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://vxer-lee.github.io/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86/image-20190803024505492.png">
  <!-- Canonical links -->
  <link rel="canonical" href="https://vxer-lee.github.io/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86.html">
  
    <link rel="alternate" href="/atom.xml" title="Lee&#39;Blog 专注逆向、网络安全" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png" type="image/x-icon">
  
  
<link rel="stylesheet" href="/css/style.css">

  
  
  
    <link href="//cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.3.5/dist/jquery.fancybox.min.css" rel="stylesheet">
  
  
<meta name="generator" content="Hexo 4.2.0"></head>


<body class="main-center theme-green" itemscope itemtype="http://schema.org/WebPage">
  <header class="header" itemscope itemtype="http://schema.org/WPHeader">
  <div class="slimContent">
    <div class="navbar-header">
      
      
      <div class="profile-block text-center">
        <a id="avatar" href="https://github.com/cofess" target="_blank">
          <img class="img-circle img-rotate" src="/images/avatar.jpg" width="200" height="200">
        </a>
        <h2 id="name" class="hidden-xs hidden-sm">Lee</h2>
        <h3 id="title" class="hidden-xs hidden-sm hidden-md">专注逆向、网络安全</h3>
        <small id="location" class="text-muted hidden-xs hidden-sm"><i class="icon icon-map-marker"></i> Shenzhen, China</small>
      </div>
      
      <div class="search" id="search-form-wrap">

    <form class="search-form sidebar-form">
        <div class="input-group">
            <input type="text" class="search-form-input form-control" placeholder="搜索" />
            <span class="input-group-btn">
                <button type="submit" class="search-form-submit btn btn-flat" onclick="return false;"><i class="icon icon-search"></i></button>
            </span>
        </div>
    </form>
    <div class="ins-search">
  <div class="ins-search-mask"></div>
  <div class="ins-search-container">
    <div class="ins-input-wrapper">
      <input type="text" class="ins-search-input" placeholder="想要查找什么..." x-webkit-speech />
      <button type="button" class="close ins-close ins-selectable" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
    </div>
    <div class="ins-section-wrapper">
      <div class="ins-section-container"></div>
    </div>
  </div>
</div>


</div>
      <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>
    <nav id="main-navbar" class="collapse navbar-collapse" itemscope itemtype="http://schema.org/SiteNavigationElement" role="navigation">
      <ul class="nav navbar-nav main-nav ">
        
        
        <li class="menu-item menu-item-home">
          <a href="/.">
            
            <i class="icon icon-home-fill"></i>
            
            <span class="menu-title">首页</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-archives">
          <a href="/archives">
            
            <i class="icon icon-archives-fill"></i>
            
            <span class="menu-title">归档</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-categories">
          <a href="/categories">
            
            <i class="icon icon-folder"></i>
            
            <span class="menu-title">分类</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-tags">
          <a href="/tags">
            
            <i class="icon icon-tags"></i>
            
            <span class="menu-title">标签</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-repository">
          <a href="/repository">
            
            <i class="icon icon-project"></i>
            
            <span class="menu-title">项目</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-links">
          <a href="/links">
            
            <i class="icon icon-friendship"></i>
            
            <span class="menu-title">友链</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-about">
          <a href="/about">
            
            <i class="icon icon-cup-fill"></i>
            
            <span class="menu-title">关于</span>
          </a>
        </li>
        
      </ul>
      
	
    <ul class="social-links">
    	
        <li><a href="https://github.com" target="_blank" title="Github" data-toggle=tooltip data-placement=top><i class="icon icon-github"></i></a></li>
        
        <li><a href="https://twitter.com" target="_blank" title="Twitter" data-toggle=tooltip data-placement=top><i class="icon icon-twitter"></i></a></li>
        
        <li><a href="/atom.xml" target="_blank" title="Rss" data-toggle=tooltip data-placement=top><i class="icon icon-rss"></i></a></li>
        
    </ul>

    </nav>
  </div>
</header>

  
    <aside class="sidebar" itemscope itemtype="http://schema.org/WPSideBar">
  <div class="slimContent">
    
      <div class="widget">
    <h3 class="widget-title">公告</h3>
    <div class="widget-body">
        <div id="board">
            <div class="content">
                <p>欢迎交流与分享经验!</p>
            </div>
        </div>
    </div>
</div>

    
      
  <div class="widget">
    <h3 class="widget-title">分类</h3>
    <div class="widget-body">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%B8%97%E9%80%8F/">渗透</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E9%80%86%E5%90%91/">逆向</a><span class="category-list-count">4</span></li></ul>
    </div>
  </div>


    
      
  <div class="widget">
    <h3 class="widget-title">标签</h3>
    <div class="widget-body">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/tagsssss/Android%E9%80%86%E5%90%91/" rel="tag">Android逆向</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tagsssss/PC%E9%80%86%E5%90%91/" rel="tag">PC逆向</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tagsssss/Web%E6%B8%97%E9%80%8F/" rel="tag">Web渗透</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tagsssss/iOS%E9%80%86%E5%90%91/" rel="tag">iOS逆向</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tagsssss/%E5%86%85%E7%BD%91%E6%94%BB%E9%98%B2/" rel="tag">内网攻防</a><span class="tag-list-count">1</span></li></ul>
    </div>
  </div>


    
      
  <div class="widget">
    <h3 class="widget-title">标签云</h3>
    <div class="widget-body tagcloud">
      <a href="/tagsssss/Android%E9%80%86%E5%90%91/" style="font-size: 13px;">Android逆向</a> <a href="/tagsssss/PC%E9%80%86%E5%90%91/" style="font-size: 13px;">PC逆向</a> <a href="/tagsssss/Web%E6%B8%97%E9%80%8F/" style="font-size: 13px;">Web渗透</a> <a href="/tagsssss/iOS%E9%80%86%E5%90%91/" style="font-size: 14px;">iOS逆向</a> <a href="/tagsssss/%E5%86%85%E7%BD%91%E6%94%BB%E9%98%B2/" style="font-size: 13px;">内网攻防</a>
    </div>
  </div>

    
      
  <div class="widget">
    <h3 class="widget-title">归档</h3>
    <div class="widget-body">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/06/">六月 2020</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/02/">二月 2020</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/01/">一月 2020</a><span class="archive-list-count">5</span></li></ul>
    </div>
  </div>


    
      
  <div class="widget">
    <h3 class="widget-title">最新文章</h3>
    <div class="widget-body">
      <ul class="recent-post-list list-unstyled no-thumbnail">
        
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                <a class="category-link" href="/categories/%E9%80%86%E5%90%91/">逆向</a>
              </p>
              <p class="item-title">
                <a href="/iOS%E5%BA%94%E7%94%A8%E9%80%86%E5%90%91%E4%B8%8E%E5%AE%89%E5%85%A8-WhatsApp%E5%88%86%E6%9E%90.html" class="title">iOS应用逆向与安全-WhatsApp防撤回开发</a>
              </p>
              <p class="item-date">
                <time datetime="2020-06-29T04:32:31.000Z" itemprop="datePublished">2020-06-29</time>
              </p>
            </div>
          </li>
          
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                <a class="category-link" href="/categories/%E9%80%86%E5%90%91/">逆向</a>
              </p>
              <p class="item-title">
                <a href="/iOS13-%E5%8A%A8%E6%80%81%E8%B0%83%E8%AF%95%E9%85%8D%E7%BD%AE%E4%B9%8Bdebugserver.html" class="title">iOS13 动态调试配置之debugserver</a>
              </p>
              <p class="item-date">
                <time datetime="2020-02-06T09:30:34.000Z" itemprop="datePublished">2020-02-06</time>
              </p>
            </div>
          </li>
          
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                <a class="category-link" href="/categories/%E9%80%86%E5%90%91/">逆向</a>
              </p>
              <p class="item-title">
                <a href="/%E6%8B%BC%E5%A4%9A%E5%A4%9A%E6%95%B0%E6%8D%AE%E5%BA%93%E8%A7%A3%E5%AF%86.html" class="title">拼多多数据库解密</a>
              </p>
              <p class="item-date">
                <time datetime="2020-01-08T06:22:52.000Z" itemprop="datePublished">2020-01-08</time>
              </p>
            </div>
          </li>
          
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                <a class="category-link" href="/categories/%E6%B8%97%E9%80%8F/">渗透</a>
              </p>
              <p class="item-title">
                <a href="/mimikatz%E7%A0%B4%E8%A7%A3Windows%E7%99%BB%E9%99%86%E5%AF%86%E7%A0%81.html" class="title">Mimikatz破解Windows登陆密码</a>
              </p>
              <p class="item-date">
                <time datetime="2020-01-07T04:50:11.000Z" itemprop="datePublished">2020-01-07</time>
              </p>
            </div>
          </li>
          
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                <a class="category-link" href="/categories/%E6%B8%97%E9%80%8F/">渗透</a>
              </p>
              <p class="item-title">
                <a href="/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86.html" class="title">熬夜之干JS加密</a>
              </p>
              <p class="item-date">
                <time datetime="2020-01-07T03:59:36.000Z" itemprop="datePublished">2020-01-07</time>
              </p>
            </div>
          </li>
          
      </ul>
    </div>
  </div>
  

    
  </div>
</aside>

  
  
<main class="main" role="main">
  <div class="content">
  <article id="post-熬夜之干JS加密" class="article article-type-post" itemscope itemtype="http://schema.org/BlogPosting">
    
    <div class="article-header">
      
        
  
    <h1 class="article-title" itemprop="name">
      熬夜之干JS加密
    </h1>
  

      
      <div class="article-meta">
        <span class="article-date">
    <i class="icon icon-calendar-check"></i>
	<a href="/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86.html" class="article-date">
	  <time datetime="2020-01-07T03:59:36.000Z" itemprop="datePublished">2020-01-07</time>
	</a>
</span>
        
  <span class="article-category">
    <i class="icon icon-folder"></i>
    <a class="article-category-link" href="/categories/%E6%B8%97%E9%80%8F/">渗透</a>
  </span>

        
  <span class="article-tag">
    <i class="icon icon-tags"></i>
	<a class="article-tag-link" href="/tagsssss/Web%E6%B8%97%E9%80%8F/" rel="tag">Web渗透</a>
  </span>


        

        <span class="post-comment"><i class="icon icon-comment"></i> <a href="/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86.html#comments" class="article-comment-link">评论</a></span>
        
      </div>
    </div>
    <div class="article-entry marked-body" itemprop="articleBody">
      
        <p>朋友发了这么一段东西，然后和我说熬夜也要把它解出来  我：？？？？？？？？</p>
<p>没错经过一番搜索后发现这是一段加密的JS代码。</p>
<p>(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(![]+[])[+[]]+[!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]+(![]+[])[+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]</p>
<p>这是一段Js代码，利用js引擎语法 运算符 优先级等特性，让代码看起来特别难懂复杂。</p>
<blockquote>
<p>首先要运用到的第一个知识就是js运算符的优先级，因为这么长一段运算看的人眼花，我们必须得先根据优先级分成n小段，然后再各个击破。优先级的排列如下表：</p>
</blockquote>
<p>　　</p>
<h4 id="优先级从高到低："><a href="#优先级从高到低：" class="headerlink" title="优先级从高到低："></a>优先级从高到低：</h4><table>
<thead>
<tr>
<th>运算符</th>
<th>说明</th>
</tr>
</thead>
<tbody><tr>
<td>.[ ] ( )</td>
<td>字段访问、数组索引、函数调用和表达式分组</td>
</tr>
<tr>
<td>++ – - ~ ! delete new typeof void</td>
<td>一元运算符、返回数据类型、对象创建、未定义的值</td>
</tr>
<tr>
<td>* / %</td>
<td>相乘、相除、求余数</td>
</tr>
<tr>
<td>+ - +</td>
<td>相加、相减、字符串串联</td>
</tr>
<tr>
<td>&lt;&lt; &gt;&gt; &gt;&gt;&gt;</td>
<td>移位</td>
</tr>
<tr>
<td>&lt; &lt;= &gt; &gt;= instanceof</td>
<td>小于、小于或等于、大于、大于或等于、是否为特定类的实例</td>
</tr>
<tr>
<td>== != === !==</td>
<td>相等、不相等、全等，不全等</td>
</tr>
<tr>
<td>&amp;</td>
<td>按位“与”</td>
</tr>
<tr>
<td>^</td>
<td>按位“异或”</td>
</tr>
<tr>
<td>|</td>
<td>按位“或”</td>
</tr>
<tr>
<td>&amp;&amp;</td>
<td>逻辑“与”</td>
</tr>
<tr>
<td>||</td>
<td>逻辑“或”</td>
</tr>
<tr>
<td>?:</td>
<td>条件运算</td>
</tr>
<tr>
<td>= <em>OP</em>=</td>
<td>赋值、赋值运算（如 += 和 &amp;=）</td>
</tr>
<tr>
<td>,</td>
<td>多个计算</td>
</tr>
</tbody></table>
<h4 id="代码拆分"><a href="#代码拆分" class="headerlink" title="代码拆分"></a>代码拆分</h4><p>根据（）和[] 代码一共可以拆分成28段。</p>
<p>其实这28段代表的就是 e9a699e6b8af3731e78bace7ab8b 个字节</p>
<h4 id="举例第一段"><a href="#举例第一段" class="headerlink" title="举例第一段:"></a>举例第一段:</h4><p>(!![]+[])[!+[]+!+[]+!+[]]        把() 和 []分开来就是</p>
<p>(!![]+[]).       等于  true</p>
<p>[!+[]+!+[]+!+[]]   等于 3 </p>
<p>然后合起来就是”true”[3] 意思就是 取”true”这个字符串 从0开始到第3个字符, 也就是e</p>
<p><img src="/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86/image-20190803024505492.png" alt="image-20190803024505492"></p>
<p><img src="/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86/image-20190803024531220.png" alt="image-20190803024531220"></p>
<h4 id="举例第二段："><a href="#举例第二段：" class="headerlink" title="举例第二段："></a>举例第二段：</h4><p>第二段则是 !+[] 代表1    一共是 9个1相加</p>
<p>!+[]    !+[]    !+[]   !+[]   !+[]   !+[]   !+[]   !+[]   !+[]  </p>
<p><img src="/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86/image-20190803024927010.png" alt="image-20190803024927010"></p>
<p><strong>所以第一段和第二段加起来就是e9,也就是那段e9a699e6b8af3731e78bace7ab8b 前两个字</strong></p>
<p><strong>后面的段以此类推</strong></p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//第一段</span></span><br><span class="line">(!![]+[])[!+[]+!+[]+!+[]]  </span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]] </span><br><span class="line">+</span><br><span class="line"><span class="comment">//第三段</span></span><br><span class="line">(![]+[])[+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第四段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第五段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第六段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第七段</span></span><br><span class="line">(!![]+[])[!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第八段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第九段</span></span><br><span class="line">([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十一段</span></span><br><span class="line">(![]+[])[+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十二段</span></span><br><span class="line">(![]+[])[+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十三段</span></span><br><span class="line">[!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十四段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十五段</span></span><br><span class="line">[!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十六段</span></span><br><span class="line">[+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十七段</span></span><br><span class="line">(!![]+[])[!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十八段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第十九段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二十段</span></span><br><span class="line">([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二十一段</span></span><br><span class="line">(![]+[])[+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二十二段</span></span><br><span class="line">([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]+[])[!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二十三段</span></span><br><span class="line">(!![]+[])[!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二十四段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二十五段</span></span><br><span class="line">(![]+[])[+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二十六段</span></span><br><span class="line">([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二十七段</span></span><br><span class="line">[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span><br><span class="line">+</span><br><span class="line"><span class="comment">//第二十八段</span></span><br><span class="line">([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]</span><br></pre></td></tr></table></figure>



<p><strong>python拟代码</strong></p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">#coding=utf8</span></span><br><span class="line"><span class="keyword">import</span> binascii</span><br><span class="line"><span class="keyword">import</span> sys</span><br><span class="line">reload(sys)</span><br><span class="line"></span><br><span class="line"><span class="comment">#e9a699e6b8af3731e78bace7ab8b</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#(!![]+[])[!+[]+!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line">sub1 = <span class="number">1</span>&lt;<span class="number">2</span></span><br><span class="line">sub1_end = str(sub1)[<span class="number">3</span>] + str(<span class="number">9</span>)</span><br><span class="line"><span class="keyword">print</span> sub1_end            <span class="comment">#e9</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#(![]+[])[+!+[]]</span></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line">sub2 = <span class="number">1</span>&gt;<span class="number">2</span></span><br><span class="line">sub2_end = str(sub2)[<span class="number">1</span>] + str(<span class="number">6</span>)</span><br><span class="line"><span class="keyword">print</span> sub2_end            <span class="comment">#a6</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line">sub3 = <span class="number">9</span></span><br><span class="line">sub3_end = str(sub3) + str(sub3)</span><br><span class="line"><span class="keyword">print</span> sub3_end           <span class="comment">#99</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#(!![]+[])[!+[]+!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line">sub4 = <span class="number">1</span>&lt;<span class="number">2</span></span><br><span class="line">sub4_end = str(sub4)[<span class="number">3</span>] + str(<span class="number">6</span>)</span><br><span class="line"><span class="keyword">print</span> sub4_end           <span class="comment">#e6</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line">sub5 = <span class="string">'[object Array Iterator]'</span></span><br><span class="line">sub5_end = sub5[<span class="number">2</span>] + str(<span class="number">8</span>)</span><br><span class="line"><span class="keyword">print</span> sub5_end           <span class="comment">#b8</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#(![]+[])[+!+[]]</span></span><br><span class="line"><span class="comment">#(![]+[])[+[]]</span></span><br><span class="line">sub6 = <span class="number">1</span>&gt;<span class="number">2</span></span><br><span class="line">sub6_end = str(sub6)[<span class="number">1</span>] + str(sub6).lower()[<span class="number">0</span>]</span><br><span class="line"><span class="keyword">print</span> sub6_end           <span class="comment">#af</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]                </span></span><br><span class="line">sub7 = <span class="number">3</span></span><br><span class="line">sub7_end = str(sub7) + str(<span class="number">7</span>)</span><br><span class="line"><span class="keyword">print</span> sub7_end           <span class="comment">#37</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#[+!+[]]</span></span><br><span class="line">sub8 = <span class="number">3</span></span><br><span class="line">sub8_end = str(sub8) + str(<span class="number">1</span>)</span><br><span class="line"><span class="keyword">print</span> sub8_end           <span class="comment">#31</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#(!![]+[])[!+[]+!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line">sub9 = <span class="number">1</span>&lt;<span class="number">2</span></span><br><span class="line">sub9_end = str(sub9)[<span class="number">3</span>] + str(<span class="number">7</span>)</span><br><span class="line"><span class="keyword">print</span> sub9_end           <span class="comment">#e7</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]</span></span><br><span class="line">sub10 = <span class="string">'[object Array Iterator]'</span></span><br><span class="line">sub10_end = str(<span class="number">8</span>) + sub10[<span class="number">2</span>]</span><br><span class="line"><span class="keyword">print</span> sub10_end          <span class="comment">#8b</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#(![]+[])[+!+[]]</span></span><br><span class="line"><span class="comment">#([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]+[])[!+[]+!+[]+!+[]]</span></span><br><span class="line">sub11 = <span class="number">1</span>&gt;<span class="number">2</span></span><br><span class="line">sub11_end = str(sub11)[<span class="number">1</span>] + <span class="string">'[object Array Iterator]'</span>[<span class="number">5</span>]</span><br><span class="line"><span class="keyword">print</span> sub11_end          <span class="comment">#ac</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#(!![]+[])[!+[]+!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line">sub12 = <span class="number">1</span>&lt;<span class="number">2</span></span><br><span class="line">sub12_end = str(sub12)[<span class="number">3</span>] + str(<span class="number">7</span>)</span><br><span class="line"><span class="keyword">print</span> sub12_end          <span class="comment">#e7</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#(![]+[])[+!+[]]</span></span><br><span class="line"><span class="comment">#([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]</span></span><br><span class="line">sub13 = <span class="number">1</span>&gt;<span class="number">2</span></span><br><span class="line">sub13_end = str(sub13)[<span class="number">1</span>] + <span class="string">'[object Array Iterator]'</span>[<span class="number">2</span>]</span><br><span class="line"><span class="keyword">print</span> sub13_end          <span class="comment">#ab</span></span><br><span class="line"></span><br><span class="line"><span class="comment">#[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]</span></span><br><span class="line"><span class="comment">#([][(!![]+[])[!+[]+!+[]+!+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()+[])[!+[]+!+[]]</span></span><br><span class="line">sub14 = <span class="string">'[object Array Iterator]'</span></span><br><span class="line">sub14_end = str(<span class="number">8</span>) + str(sub14)[<span class="number">2</span>]</span><br><span class="line"><span class="keyword">print</span> sub14_end         <span class="comment">#8b</span></span><br><span class="line"></span><br><span class="line"><span class="keyword">print</span> <span class="string">'----------------------------------------'</span></span><br><span class="line">decodestr = sub1_end+sub2_end+sub3_end+sub4_end+sub5_end+sub6_end+sub7_end+sub8_end+sub9_end+sub10_end+sub11_end+sub12_end+sub13_end+sub14_end</span><br><span class="line"><span class="keyword">print</span> decodestr</span><br><span class="line"><span class="keyword">print</span> <span class="string">'========================================'</span></span><br><span class="line">no = binascii.a2b_hex(decodestr)</span><br><span class="line"></span><br><span class="line"><span class="keyword">print</span> no</span><br></pre></td></tr></table></figure>



<p>最后的执行结果</p>
<p>WTF ？？？？？ 这是有人在搞事情？</p>
<p><img src="/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86/ssdd.png" alt="ssdd"></p>

      
    </div>
    <div class="article-footer">
      <blockquote class="mt-2x">
  <ul class="post-copyright list-unstyled">
    
    <li class="post-copyright-link hidden-xs">
      <strong>本文链接：</strong>
      <a href="https://vxer-lee.github.io/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86.html" title="熬夜之干JS加密" target="_blank" rel="external">https://vxer-lee.github.io/%E7%86%AC%E5%A4%9C%E4%B9%8B%E5%B9%B2JS%E5%8A%A0%E5%AF%86.html</a>
    </li>
    
    <li class="post-copyright-license">
      <strong>版权声明： </strong> 本博客所有文章除特别声明外，均采用 <a href="http://creativecommons.org/licenses/by/4.0/deed.zh" target="_blank" rel="external">CC BY 4.0 CN协议</a> 许可协议。转载请注明出处！
    </li>
  </ul>
</blockquote>


<div class="panel panel-default panel-badger">
  <div class="panel-body">
    <figure class="media">
      <div class="media-left">
        <a href="https://github.com/cofess" target="_blank" class="img-burn thumb-sm visible-lg">
          <img src="/images/avatar.jpg" class="img-rounded w-full" alt="">
        </a>
      </div>
      <div class="media-body">
        <h3 class="media-heading"><a href="https://github.com/cofess" target="_blank"><span class="text-dark">Lee</span><small class="ml-1x">专注逆向、网络安全</small></a></h3>
        <div>擅长iOS、Windows逆向，爱好渗透攻防。</div>
      </div>
    </figure>
  </div>
</div>


    </div>
  </article>
  
    
  <section id="comments">
  	
      <div id="vcomments"></div>
    
  </section>


  
</div>

  <nav class="bar bar-footer clearfix" data-stick-bottom>
  <div class="bar-inner">
  
  <ul class="pager pull-left">
    
    <li class="prev">
      <a href="/mimikatz%E7%A0%B4%E8%A7%A3Windows%E7%99%BB%E9%99%86%E5%AF%86%E7%A0%81.html" title="Mimikatz破解Windows登陆密码"><i class="icon icon-angle-left" aria-hidden="true"></i><span>&nbsp;&nbsp;上一篇</span></a>
    </li>
    
    
    <li class="next">
      <a href="/%E6%B9%96%E6%B9%98%E6%9D%AFWriteup.html" title="湖湘杯 writeup"><span>下一篇&nbsp;&nbsp;</span><i class="icon icon-angle-right" aria-hidden="true"></i></a>
    </li>
    
    
  </ul>
  
  
  
  <div class="bar-right">
    
    <div class="share-component" data-sites="qq,wechat" data-mobile-sites="qq,wechat"></div>
    
  </div>
  </div>
</nav>
  


</main>

  <footer class="footer" itemscope itemtype="http://schema.org/WPFooter">
	
	
    <ul class="social-links">
    	
        <li><a href="https://github.com" target="_blank" title="Github" data-toggle=tooltip data-placement=top><i class="icon icon-github"></i></a></li>
        
        <li><a href="https://twitter.com" target="_blank" title="Twitter" data-toggle=tooltip data-placement=top><i class="icon icon-twitter"></i></a></li>
        
        <li><a href="/atom.xml" target="_blank" title="Rss" data-toggle=tooltip data-placement=top><i class="icon icon-rss"></i></a></li>
        
    </ul>

    <div class="copyright">
    	
        <div class="publishby">
        	Theme by <a href="https://github.com/cofess" target="_blank"> cofess </a>base on <a href="https://github.com/cofess/hexo-theme-pure" target="_blank">pure</a>.
        </div>
    </div>
</footer>
  <script src="//cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="js/jquery.min.js"><\/script>')
</script>

<script src="/js/plugin.min.js"></script>


<script src="/js/application.js"></script>


    <script>
(function (window) {
    var INSIGHT_CONFIG = {
        TRANSLATION: {
            POSTS: '文章',
            PAGES: '页面',
            CATEGORIES: '分类',
            TAGS: '标签',
            UNTITLED: '(未命名)',
        },
        ROOT_URL: '/',
        CONTENT_URL: '/content.json',
    };
    window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>

<script src="/js/insight.js"></script>






   




   
    
  <script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/valine"></script>
  <script type="text/javascript">
  var GUEST = ['nick', 'mail', 'link'];
  var meta = 'nick,mail,link';
  meta = meta.split(',').filter(function(item) {
    return GUEST.indexOf(item) > -1;
  });
  new Valine({
    el: '#vcomments',
    verify: false,
    notify: false,
    appId: '',
    appKey: '',
    placeholder: 'Just go go',
    avatar: 'mm',
    meta: meta,
    pageSize: '10' || 10,
    visitor: false
  });
  </script>

     



  <script src="//cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.3.5/dist/jquery.fancybox.min.js"></script>
  <script>
  //利用 FancyBox 实现点击图片放大
  $(document).ready(function() {
    $('article img').not('[hidden]').not('.panel-body img').each(function() {
      var $image = $(this);
      var imageCaption = $image.attr('alt');
      var $imageWrapLink = $image.parent('a');
      if ($imageWrapLink.length < 1) {
        var src = this.getAttribute('src');
        var idx = src.lastIndexOf('?');
        if (idx != -1) {
          src = src.substring(0, idx);
        }
        $imageWrapLink = $image.wrap('<a href="' + src + '"></a>').parent('a');
      }
      $imageWrapLink.attr('data-fancybox', 'images');
      if (imageCaption) {
        $imageWrapLink.attr('data-caption', imageCaption);
      }
    });
    $().fancybox({
      selector: '[data-fancybox="images"]',
      hash: false,
      loop: false,
    });
  });
  </script>





</body>
</html>